﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Configuration;

namespace Inmobiliaria.Base
{
    public static class ValoresConstantes
    {
        public static string[] TipoVendedor
        {
            get
            {
                return new string[] { "INMOBILIARIA", "PARTICULAR" };
            }
        }
        public static string[] Numeros
        {
            get
            {
                return new string[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" };
            }
        }
        public static string[] TipoTransaccion
        {
            get
            {
                return new string[] { "VENTA", "ALQUILER", "PERMUTO" };
            }
        }
        public static string FotosTemp(int inmueble)
        {
            return string.Format(System.Configuration.ConfigurationManager.AppSettings.Get("ConsultarImagenesInmuebles").ToString() + inmueble + ".jpg");
        }
        public static string FotosTemp2(int inmueble)
        {
            return string.Format(System.Configuration.ConfigurationManager.AppSettings.Get("ConsultarImagenesInmuebles").ToString() + inmueble + "Foto2" + ".jpg");
        }
        public static string FotosTemp3(int inmueble)
        {
            return string.Format(System.Configuration.ConfigurationManager.AppSettings.Get("ConsultarImagenesInmuebles").ToString() + inmueble + "Foto3" + ".jpg");
        }
        public static string FotosTemp4(int inmueble)
        {
            return string.Format(System.Configuration.ConfigurationManager.AppSettings.Get("ConsultarImagenesInmuebles").ToString() + inmueble + "Foto4" + ".jpg");
        }
        public static string FotosTemp5(int inmueble)
        {
            return string.Format(System.Configuration.ConfigurationManager.AppSettings.Get("ConsultarImagenesInmuebles").ToString() + inmueble + "Foto5" + ".jpg");
        }
        public static string FotosTempInmobiliarias(int inmueble)
        {
            return string.Format(System.Configuration.ConfigurationManager.AppSettings.Get("ConsultarImagenesInmobiliarias").ToString() + inmueble + ".jpg");
        }
    }
}
